package com.laughing.httpserver.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author laughing.sheng <laughing1917@yeah.net/>
 * @date 2018/1/26
 * @see
 */
@Component
@ConfigurationProperties(prefix = "httpServer")
@Data
public class HttpServerProperties {

    private int port;

    private String host;

    private int backlog;
}
